#ifndef THREAD_H
#define THREAD_H

#include <QThread>
#include <QMutexLocker>

class Thread : public QThread
{
    Q_OBJECT
public:
    Thread();

    Thread(QString filepath);

    void startWork();

signals:
    void finished();

private:
    QString filepath;
    QMutex mutex;
};

#endif // THREAD_H
